package com.itheima.domain;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class User {
    @NotNull(message = "用户编号不能为空")
    private String id;
    private String password;
    private String avatar;
    private String userName;
    private Integer age;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 所在地
     */
    private String region;
}
